package com.hzw.saas.api.storage.constants;

import com.hzw.saas.common.util.constants.CacheConsts;
import lombok.experimental.UtilityClass;

/**
 * @author EZ09
 * @since 07/29/2021
 */
@UtilityClass
public class StorageCacheConsts {


    public static final String RSYNC_TASK_CACHE_PREFIX = "rsyncTask" + CacheConsts.CACHE_KEY_JOINER;
    public static final String RSYNC_CHECKSUM_CACHE_PREFIX = "rsyncChecksum" + CacheConsts.CACHE_KEY_JOINER;

    /**
     * RSync任务缓存时间
     */
    public static final int RSYNC_TASK_CACHE_TIME = 60 * 60 * 24 * 3;

    /**
     * RSync文件分片校验和缓存时间
     */
    public static final int RSYNC_CHECKSUM_CACHE_TIME = 60 * 60 * 24 * 3;


}
